package com.itheima01;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Lenovo
 * Date: 2022-02-09
 * Time: 15:50
 */
public class MethodTest {
    public static void main(String[] args) {
        getMax(10,20);
    }

    public static void getMax(int a,int b){
        if(a>b){
            System.out.println(a);
        }
        else{
            System.out.println(b);
        }
    }
}
